今天的題目來自於牛肉湯的 yunshiuan 在 2025 AIS3 CTF 組出的數位鑑識題目,再次感謝他願意提供題目給我做本次的解題練習~大家有興趣的話也可以去 Follow 他今年的鐵人文章喔!
以下是文章連結:Blue 了 Blue 了!只會看封包與log的我錯了嗎!
window.info
跑不出東西來,改用 banners 看看有沒有資訊,可以注意到他是一個 Ubuntu 5.15.0-151.161-generic 的作業系統
vol -f .\ais3.mem banners
linux.pslist
結果發現缺失 symbol tableslinux.bash
看一下有甚麼指令紀錄,可以看到上面有三個用 base64 編碼的指令
vol -f .\ais3.mem linux.bash
vol -f .\ais3.mem linux.pagecache.Files | grep 'powershell.pyc'
vol -f .\ais3.mem linux.pagecache.Files | grep 'secret.enc'
vol -f .\ais3.mem linux.pagecache.InodePages --find /home/ais3/powershell.pyc --dump
vol -f .\ais3.mem linux.pagecache.InodePages --find /home/ais3/secret.enc --dump
再次感謝牛肉湯的大大出了這題並授權我使用,他真的是我 Linux 記憶體鑑識的啟蒙XD,這真的很有趣,但那時卡在 symbol tables 和後面對 Linux 的指令不熟悉也查不到資料真的是受挫了好久,很開心今天可以做這題的 writeup 給大家。